<template>
    <div :class="cname" class="com-cnt">
        <div class="com-content">
            <slot></slot>
        </div>
    </div>
</template>

<script>
export default {
    name: 'componentBg',
    props: {
        cname: String
    }
}
</script>

<style lang="stylus" scoped>
.com-cnt
    width 100%
    height auto 
    padding-bottom 10px
    background-color #eee
    overflow hidden
    .com-content
        width 100%
        height auto 
        background-color #fff
        overflow hidden
</style>